package com.hz.basic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * 
 * @author cyl_txw
 * @email cyl_txw@gmail.com
 * @date 2021-04-22 21:28:47
 */
@Data
@TableName("hz_city")
public class CityEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 城市id
	 */
	@TableId(type = IdType.ID_WORKER)
	private Integer id;
	/**
	 * 父城市id
	 */
	private Integer parentid;
	/**
	 * 城市名称
	 */
	private String cityName;

}
